package com.aotain.nyx.ipstat;

import java.util.HashMap;

import com.aotain.nyx.flink.BasicTuple;


public class IPStatTuple extends BasicTuple {

	/**
	 *
	 */
	    
	private static final long serialVersionUID = 1L;
	private HashMap<String,Long> valuemap = new HashMap<String,Long>();
	private Double attackMax = 0.0;
	private String groupIP = ""; 
	
	public void setValueMap(HashMap<String,Long> valueMap) {
		valuemap = valueMap;
	}
	
	public HashMap<String,Long> getValueMap() {
		return valuemap;
	}
	
	
	/**
	 * 攻击流量峰值
	 * @return
	 * @Description:
	 */
	public Double getAttackMax() {
		return attackMax;
	}
	
	
	/**
	 * 攻击流量峰值
	 * @param attackmax
	 * @Description:
	 */
	public void setAttackMax(Double attackmax) {
		attackMax = attackmax;
	}
	
	public String getGroupIP() {
		return groupIP;
	}
	
	/**
	 * 为了区分源，目的，用于网络威胁平台IP统计
	 * @param groupip
	 * @Description:
	 */
	public void setGroupIp(String groupip) {
		groupIP = groupip;
	}
}
